/*
*  Copyright 2020-2021 Li Fei
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package com.pengshun.modules.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

/**
* @description 货运订单表
* @author zhagning
* @date 2020-10-29
**/
@Entity
@Data
@Table(name="ps_transport_order")
public class TransportOrder     implements Serializable {

    @Id
    @Column(name = "transport_order_id")
    @ApiModelProperty(value = "主键")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @Column(name = "transport_id")
    @ApiModelProperty(value = "货运Id")
    private Long transportId;

    @Column(name = "driver_id")
    @ApiModelProperty(value = "司机ID")
    private Long driverId;

    @Column(name = "merchant_id")
    @ApiModelProperty(value = "商户ID")
    private Long merchantId;

    @Column(name = "merchant_name")
    @ApiModelProperty(value = "商户名称")
    private String merchantName;

    @Column(name = "vehicle_category_id")
    @ApiModelProperty(value = "车辆Id")
    private Long vehicleCategoryId;

    @Column(name = "remark")
    @ApiModelProperty(value = "备注")
    private String remark;

    @Column(name = "order_status")
    @ApiModelProperty(value = "运单状态")
    private Integer orderStatus;

}